﻿#pragma once

#include <QString>

namespace qsc {
struct DeviceParams{
    QString serial = "";
    QString serverLocalPath = "";

    QString serverRemotePath = "/data/local/tmp/scrcpy-server.jar";
    quint16 localPort = 27183;
    quint16 maxSize = 720;
    quint32 bitRate = 8000000;
    quint32 maxFps = 0;
    bool useReverse = true;
    int lockVideoOrientation = -1;
    bool stayAwake = false;
    QString serverVersion = "2.1.1";
    QString logLevel = "debug";

    QString codecOptions = "";
    QString codecName = "";
    quint32 scid = static_cast<quint32>(-1);

    QString recordPath = "";
    QString recordFileFormat = "mp4";
    bool recordFile = false;

    QString pushFilePath = "/sdcard/";

    bool closeScreen = false;
    bool display = true;
    bool renderExpiredFrames = false;
    QString gameScript = "";
};
}
